package org.test.spring;

import javax.annotation.Resource;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

@Repository("springBeanAction")
@Scope(BeanDefinition.SCOPE_SINGLETON)
public class SpringBeanAction {

	@Resource(name = "springBeanService")
	private SpringBeanService springBeanService;

	private String result = "SpringBeanAction";

	public String getResult() {
		return result;
		
	}
	

	public void setResult(String result) {
		this.result = result;
	}

	public SpringBeanService getSpringBeanService() {
		return springBeanService;
	}

	public void setSpringBeanService(SpringBeanService springBeanService) {
		this.springBeanService = springBeanService;
	}

}
